import request from '@/utils/request'

export function getCo2(query) {
    return request({
      url: 'fj/statitic/statisticCo2',
      method: 'get',
      params: query
    })
  }

  export function getFjFrequency(query) {
    return request({
      url: 'fj/statitic/statisticFrequency',
      method: 'get',
      params: query
    })
  }

  export function getDeviceCount(query) {
    return request({
      url: 'fj/statitic/statisticEqu',
      method: 'get',
      params: query
    })
  }

  export function getStatisticAlarm(query) {
    return request({
      url: 'fj/statitic/statisticAlarm',
      method: 'get',
      params: query
    })
  }
